redis = require "redis"
client = redis.connect('127.0.0.1', 6379)

--uid 1 mid 1
local mid = 2
local mkey = "material:"..mid

client:set(mkey,'100')

print(client:get(mkey))
